package com.zlp.mybatisplus.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 商品成列奖励-活动参与流水
 * </p>
 *
 * @author zhulaiping
 * @since 2022-02-16
 */
@TableName("bcrm_activity_column_flow")
public class ActivityColumnFlow extends Model<ActivityColumnFlow> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 门店id
     */
    @TableField("shop_id")
    private String shopId;

    /**
     * 活动id
     */
    @TableField("activity_id")
    private String activityId;

    /**
     * 奖励类型 1: 红包 2:积分 3:实物 4:虚拟 5:抽奖)
     */
    @TableField("award_type")
    private Integer awardType;

    /**
     * 奖励内容
     */
    @TableField("award_content")
    private String awardContent;

    /**
     * 审核状态(1.已通过，未通过)
     */
    @TableField("aduit_status")
    private Integer aduitStatus;

    /**
     * 参与时间
     */
    @TableField("attend_at")
    private Date attendAt;

    /**
     * 补充描述
     */
    @TableField("supplimental_description")
    private String supplimentalDescription;

    /**
     * 创建时间
     */
    @TableField("create_at")
    private Date createAt;

    /**
     * 修改时间
     */
    @TableField("update_at")
    private Date updateAt;

    /**
     * 删除时间
     */
    @TableField("delete_at")
    private Date deleteAt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }
    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }
    public Integer getAwardType() {
        return awardType;
    }

    public void setAwardType(Integer awardType) {
        this.awardType = awardType;
    }
    public String getAwardContent() {
        return awardContent;
    }

    public void setAwardContent(String awardContent) {
        this.awardContent = awardContent;
    }
    public Integer getAduitStatus() {
        return aduitStatus;
    }

    public void setAduitStatus(Integer aduitStatus) {
        this.aduitStatus = aduitStatus;
    }
    public Date getAttendAt() {
        return attendAt;
    }

    public void setAttendAt(Date attendAt) {
        this.attendAt = attendAt;
    }
    public String getSupplimentalDescription() {
        return supplimentalDescription;
    }

    public void setSupplimentalDescription(String supplimentalDescription) {
        this.supplimentalDescription = supplimentalDescription;
    }
    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }
    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
    public Date getDeleteAt() {
        return deleteAt;
    }

    public void setDeleteAt(Date deleteAt) {
        this.deleteAt = deleteAt;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ActivityColumnFlow{" +
        "id=" + id +
        ", userId=" + userId +
        ", shopId=" + shopId +
        ", activityId=" + activityId +
        ", awardType=" + awardType +
        ", awardContent=" + awardContent +
        ", aduitStatus=" + aduitStatus +
        ", attendAt=" + attendAt +
        ", supplimentalDescription=" + supplimentalDescription +
        ", createAt=" + createAt +
        ", updateAt=" + updateAt +
        ", deleteAt=" + deleteAt +
        "}";
    }
}
